<?php
$_id=$_REQUEST['id'];
$act_id=$_id;
$link=db_connect();
$empire=new mysqlquery();
$act_id=$_REQUEST[id];
$db='phome_ecms_actives';
$dt=DbTouch($db,array('id'=>$_id));
include("../public_act_head.php");
?>
<?php 
    $jatData=$dt;
    $coverPic=$jatData['active_cover'];//getImgSizeUrl($jatData['active_cover'],458,268);
    $sendUserName=getUserInfo($jatData['userid']);

?>
<input type='hidden' value='<?=$jatData["id"]?>'  id="artcile_id"/>
<input type='hidden' value=''  id="session_id"/>
<input type='hidden' value='<?=$public_r['newsurl']?>'  id="newsurl"/>
<div class="popup-box" style="z-index:5000;display:none;">
	<table style="border:1px solid #999999;" cellspacing="0" cellpadding="0">
		<tr style="border:1px solid #999999;padding:0px;background:#2E80B2;"><td style="padding:0px;">		
			<div class="popup-top">
				<a class="popup-close" href="javascript:void(0);" onclick="popup_close();">&nbsp;</a>
				<div class="popup-title">发布预测</div>
			</div>
			</td></tr>
		<tr><td>
			<div class="popup-body"></div>
			<div class="popup-loading">加载中...</div>
		</td></tr>
	</table>
</div>
<div id="main">
 <div id="mainborder">
   <div id="leftcontents">
     <div class="content">
       <div class="title"><h3><?=$dt['title']?></h3></div>
       <div class="body">
         <div class="a_content">
           <div class="l">
             <dl>
               <dt><a href="<?=$coverPic?>"><img src="<?=$public_r['newsurl']?>/skin/default/pic/btn01s.jpg" alt="" title=""></a></dt>
               <dt><span class='join_act light_btn'>立即报名</span><span class='focus_act act_focus_can  light_btn' status='0' >关注动态</span></dt>
               <dt>活动状态：</dt>
               <dd class='status'><img src='<?=$public_r['newsurl']?>skin/default/images/mini_loading.gif' /></dd>
             </dl>
             <dl>
                <dt>关注程度：</dt>
                <dd>
                  <p><span class='join_num'><img src='<?=$public_r['newsurl']?>skin/default/images/mini_loading.gif' /></span>人参与/<span class='focus_num'><img src='<?=$public_r['newsurl']?>skin/default/images/mini_loading.gif' /></span>人感兴趣</p>
                  <p><span class='comment_num'><img src='<?=$public_r['newsurl']?>skin/default/images/mini_loading.gif' /></span>条评论/<span class='checked_num'><img src='<?=$public_r['newsurl']?>skin/default/images/mini_loading.gif' /></span>次浏览</p>
                </dd>
             </dl>
           </div>
           <div class="r"><img src="<?=$coverPic?>" width='458' alt="" title="" /></div>
           <div class="clear"></div>
           <ul class="ullist">
             <li><b>发&nbsp;起&nbsp;人：</b><a href='<?=$public_r['newsurl']?>e/member/sp/?uid=<?=$jatData['userid']?>'><?=$dt['adduser']?></a></li>
             <li><b>联系方式：</b><?=$dt['tel']?></li>
             <li><b>发起名义：</b><?=$dt['stepup_name']?></li>
             <li><b>公&nbsp;开&nbsp;度：</b>所有人可报名， 需批准</li>
             <li><b>活动类型：</b><?=$dt['active_type']?></li>
             <li><b>活动性质：</b><?=$dt['active_kind']?></li>
             <li><b>活动强度：</b><?=$dt['active_strong']?></li>
             <li><b>起止时间：</b><?=$dt['start_time']?>至<?=$dt['end_time']?> 活动地点： <?=$dt['address']?></li>
             <li><b>出&nbsp;发&nbsp;地：</b><?=$dt['start_city']?></li>
             <li><b>人数限制：</b><?=$dt['person_num']?>人</li>
             <li><b>费用估计：</b><?=$dt['spend']?></li>
             <li><b>报名截止：</b>2010-04-30 , 12:00</li>
             <li><b>集合时间：</b><?=$dt['together_time']?></li>
             <li><b>集合地点：</b><?=$dt['together_address']?></li>
           </ul>
           <div id="activitymenus">
             <ul>
               <li class="current"><a href="#">活动首页</a></li>
               <li class='user_reputation'><a href="#">发起人口碑</a></li>
               <li  class='act-album'><a href="<?=$public_r[newsurl]?>act/detail/?v=ps&id=<?=$act_id?>">活动相册</a></li>
               <li  class='act_fen'><a href="#">活动点评</a></li>
               <li  ><a href="#" class='act_mermber_list'>报名列表</a></li>
               <li  style="display:none;"><a href="#">活动游记</a></li>
               <li style="display:none;"><a href="#">活动总结</a></li>
             </ul>
           </div>
<div class='vote_list menu-list' style="display:none;"></div>
<div class='vote_reputation menu-list' style="display:none;"></div>
<div class='vote_upload menu-list' style="display:none;">
     <input id="file_upload" name="file_upload" type="file" />
     <input id='uploadpic' onclick="setUpFileStart();" type='button' name='' value='上传' />
</div>
<div class='list_act_pic_r'>
     <div class='list_act_menu menu-list'></div>
           <div class='list_act_pic menu-list'>
           </div>
</div>
<div class='member_list' style="dispaly:none;"></div>
           <div id="activitycontent">
		   <dl>
		     <dt>景点描述</dt>
		     <dd>
		      <p><?=htmlspecialchars_decode($jatData["jingdianmiaoshu"])?></p>
		     </dd>
		   </dl>
		   <dl>
		     <dt>行程安排</dt>
		     <dd>
		      <p><?=$dt['trip_plan']?></p>
		     </dd>
		   </dl>
		   <dl>
		     <dt>费用明细</dt>
		     <dd>
		      <p><?=$dt['spend_detail']?></p>
		     </dd>
		   </dl>
		   <dl>
		     <dt>装备要求</dt>
		     <dd>
		      <p><?=$dt['equipment_request']?></p>
		     </dd>
		   </dl>
		   <dl>
		     <dt>活动说明</dt>
		     <dd>
		      <p><?=$dt['active_contruction']?></p>
		     </dd>
		   </dl>
           <div class="show"><a href="#"><img src="pic/btn02s.jpg" alt="" title="" /></a></div>
	   <hr />
           <div class="share" style="display:none;">分享到：<a href="#"><img src="pic/share01.jpg" alt="" title="" /></a><a href="#"><img src="<?=$public_r['newsurl']?>/skin/default/pic/share02.jpg" alt="" title="" /></a><a href="#"><img src="pic/share03.jpg" alt="" title="" /></a><a href="#"><img src="pic/share04.jpg" alt="" title="" /></a><a href="#"><img src="pic/share05.jpg" alt="" title="" /></a><a href="#"><img src="pic/share06.jpg" alt="" title="" /></a><a href="#"><img src="pic/share07.jpg" alt="" title="" /></a><a href="#"><img src="pic/share08.jpg" alt="" title="" /></a><a href="#"><img src="pic/share09.jpg" alt="" title="" /></a></div>
           </div>
           <div id="commentcontent">
           <div class="t"  style="display:none;"><b>活动讨论</b> 共--6次浏览，--条评论（小提示：活动归来还可以进行活动评分，<a href="#">去看看如何点评</a>）</div>
           <div id="commentxin">
           <p class="commentp"  style="display:none;">该活动有22136人参加，395条评论<a href="#">立即点评</a></p>
           <div id="xincontent">
           <div class="lxin"  style="display:none;">
           <div class="t_xin">总体好评</div>
           <div><span class="s1">好评率</span><span class="s2">97%</span><span class="s3"><span class="s3xin" style="width:97px;"></span></span></div>
           <div><span class="s1">好评率</span><span class="s2">17%</span><span class="s3"><span class="s3xin" style="width:17px;"></span></span></div>
           <div><span class="s1">好评率</span><span class="s2">27%</span><span class="s3"><span class="s3xin" style="width:27px;"></span></span></div>
           </div>
           <div class="rxin" style="display:none;">
           <div class="t_xin">分项好评</div>
           <div><span class="s11"><img src="pic/sth.gif" alt="" title="" /><img src="pic/sth.gif" alt="" title="" /><img src="pic/sth.gif" alt="" title="" /><img src="pic/nst.gif" alt="" title="" /><img src="pic/nst.gif" alt="" title="" /></span><span class="s2">97%</span>线路精彩程度</div>
           <div><span class="s11"><img src="pic/sth.gif" alt="" title="" /><img src="pic/sth.gif" alt="" title="" /><img src="pic/nst.gif" alt="" title="" /><img src="pic/nst.gif" alt="" title="" /><img src="pic/nst.gif" alt="" title="" /></span><span class="s2">17%</span>线路精彩程度</div>
           <div><span class="s11"><img src="pic/sth.gif" alt="" title="" /><img src="pic/sth.gif" alt="" title="" /><img src="pic/sth.gif" alt="" title="" /><img src="pic/sth.gif" alt="" title="" /><img src="pic/nst.gif" alt="" title="" /></span><span class="s2">27%</span>线路精彩程度</div>
           </div>
           <div class="clear"></div>
             
           </div>
           </div>
            <div id="comment_list">
              <div class="comments_text">
				<input type='hidden' id='app_id' value='' />
				<div class="t"><b>讨论：</b><span class='comment_num'>--</span>条评论,内容限制在200个字以内</div>
                <textarea class="textarea" class="comment-content" rows="10" maxLength='200' cols="10"></textarea>
                <div class="submitbtndiv">可快速答复<input type="button" class="submitbtn" value="发表评论" /></div>
              </div>
			<div class='list-c-items'>

			</div>
            </div>
           </div>
         </div>
       </div>
       <div class="bottom"></div>
     </div>
   </div>
   <div id="rightcontent">
		<?php 
		include("public_block_focus.php");
		?>    
   <div class="content" style="display:none;">
       <div class="title"><a href="#" class="more">+更多</a><h3>国内最新话题</h3></div>
       <div class="body">
         <ul class="news">
            <li><a href="#">游泳圈新人报道贴</a></li>
            <li><a href="#">建议在韩队无法带队的情况下</a></li>
            <li><a href="#">攀爬野长城，保护还是伤害？</a></li>
            <li><a href="#">搞个活动吧 都加入了 就是没有...</a></li>
            <li><a href="#">【我爱长城】之北京地区长城...</a></li>  
            <li><a href="#">新驴老驴报道专用贴-----来说...</a></li>
            <li><a href="#">俺近期习惯给人推荐的单</a></li>
            <li><a href="#">定风波 风雪游陈家堡长...</a></li>
            <li><a href="#">2011春季纯粹户外AA活动...</a></li>         
            <li><a href="#">好久没来了</a></li>
         </ul>
       </div>
       <div class="bottom"></div>
     </div>
		<?php 
		include("public_block_review.php");
		?>       
   </div>
   <div class="clear"></div>
 </div>

<?php 
	include("../public_act_foot.php");
?>
